﻿<div class="row" ng-controller="base1Controller">
    <div class="col-md-2">
        &nbsp;
    </div>
    <div class="col-md-8">
        <h3>LIBRO BIARIO</h3>
        <div class="input-group col-md-6">
            <input type="text" ng-model="busqueda" class="form-control" placeholder="Buscar" />
            <span class="input-group-btn">
                <button class="btn btn-info" type="button">
                    <i class="glyphicon glyphicon-search"></i>
                </button>
            </span>
        </div>

        <table class="table table-striped table-bordered table-btabla2ed table-hover table-responsive">
            <thead>
                <tr>
                    <th>NUMERO CORRELATIVO DEL ASIENTO O CODIGO UNICO DE LA OPERACIÓN   </th>
                    <th>FECHA DE LA OPERACIÓN</th>
                    <th>GLOSA Y DESCRIPCION DE LA OPERACIÓN </th>
                    <th>CODIGO DEL LIBRO O REGISTRO (TABLA 8)</th>
                    <th>NUMERO DE COMPROBANTE DE PAGO</th>
                    <th>NUMERO CORRELATIVO</th>
                    <th>Codigo</th>
                    <th>Debe</th>
                    <th>Haber</th>
                </tr>
            </thead>
            <tbody data-ng-repeat="d in list | filter: busqueda">
                <tr>
                    <td>{{d.Operacion1}}</td>
                    <td>{{d.FechaEmision}}</td>
                    <td>{{d.DescripcionM}}</td>
                    <td>8</td>
                    <td>1</td>
                    <td>{{d.Serie}}</td>
                    <td>{{d.Codigo1}}</td>
                    <td>{{d.Debe1}}</td>
                    <td>{{d.Haber1}}</td>
                </tr>
                <tr >
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>8</td>
                    <td>1</td>
                    <td></td>
                    <td>{{d.Codigo2}}</td>
                    <td>{{d.Debe2}}</td>
                    <td>{{d.Haber2}}</td>
                </tr>
                <tr >
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>8</td>
                    <td>1</td>
                    <td></td>
                    <td>{{d.Codigo3}}</td>
                    <td>{{d.Debe3}}</td>
                    <td>{{d.Haber3}}</td>
                </tr>
                <tr >
                    <td>{{d.Operacion2}}</td>
                    <td></td>
                    <td></td>
                    <td>8</td>
                    <td>1</td>
                    <td></td>
                    <td>{{d.Codigo4}}</td>
                    <td>{{d.Debe4}}</td>
                    <td>{{d.Haber4}}</td>
                </tr>
                <tr >
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>8</td>
                    <td>1</td>
                    <td></td>
                    <td>{{d.Codigo5}}</td>
                    <td>{{d.Debe5}}</td>
                    <td>{{d.Haber5}}</td>
                </tr>
                <tr >
                    <td>{{d.Operacion3}}</td>
                    <td></td>
                    <td></td>
                    <td>8</td>
                    <td>1</td>
                    <td></td>
                    <td>{{d.Codigo6}}</td>
                    <td>{{d.Debe6}}</td>
                    <td>{{d.Haber6}}</td>
                </tr>
                <tr >
                    <td></td>
                    <td></td>
                    <td></td>
                    <td>8</td>
                    <td>1</td>
                    <td></td>
                    <td>{{d.Codigo7}}</td>
                    <td>{{d.Debe7}}</td>
                    <td>{{d.Haber7}}</td>
                </tr>
            </tbody>
        </table>
        <a href="#/reporteCompras"><span class="glyphicon glyphicon-arrow-up"></span>Ir a Compras...</a>
    </div>
    <div class="col-md-2">
        &nbsp;
    </div>

</div>